<html>

<head>
    <meta charset="UTF-8">
    <title>管理员管理</title>

    <link rel="stylesheet" href="../../../plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../../css/global.css" media="all">
    <link rel="stylesheet" href="../../../plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../../../css/table.css" />
</head>

<body>

    <fieldset class="layui-elem-field">
        <legend id="legend"># </legend>

        <div class="layui-field-box">

            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <div class="layui-input-inline" style="width: auto">
                        <a href="javascript:void(0);" class="layui-btn layui-btn-normal layui-btn-radius" id="add" style="display: none;">新增法规</a>
                        <a href="javascript:void(0);" class="layui-btn layui-btn-normal layui-btn-radius" id="newnode" style="display: none;">新增节点</a>
                        <a href="javascript:void(0);" class="layui-btn layui-btn-normal layui-btn-radius" id="deletenode" style="display: none;">删除节点</a>
                        <a href="javascript:void(0);" class="layui-btn layui-btn-normal layui-btn-radius" id="renamenode" style="display: none;">修改节点</a>
                    </div>
                </div>
            </form>
            <hr>
            <div  id="tree">
                <div class="layui-field-box">
                    <table class="site-table table-hover" id="UserAdminTable">
                        <thead>
                        <tr>
                            <th>序号</th>
                            <th>法规名称</th>
                            <th>上传者</th>
                            <th>上传时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody id="con"></tbody>
                        <!--模板-->
                        <script type="text/html" id="conTemp">
                            {{# layui.each(d.list, function(index, item){ }}
                            <tr>
                                <td>{{ index+1 }} </td>
                                <td style="text-align: left;">{{ item.statutename }}</td>
                                <td style="text-align: left;">{{ item.uploader }}</td>
                                <td>{{ item.uploadtime }}</td>
                                <td>
                                    <a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-mini download" data-id="{{ item.statuteurl }}">下载</a>
                                    <a href="javascript:;" style="display: none;" class="layui-btn layui-btn-danger layui-btn-mini delete" data-id="{{ item.statuteid }}">删除</a>
                                </td>
                            </tr>
                            {{# }); }}
                        </script>
                    </table>
                </div>
                <div class="admin-table-page">
                    <div id="page" class="page" ></div>
                </div>
            </div>

        </div>
    </fieldset>

<script type="text/javascript" src="../../../plugins/layui/layui.js"></script>
<script type="text/javascript" src="../../../js/contextPath.js"></script>
<script>
    layui.config({
        base: '../../../js/RegAndExp/Regulations/'
    }).use('RegList');

</script>
</body>

</html>